package P69;

import javax.sql.rowset.Joinable;
import javax.swing.table.TableRowSorter;

public class test {
    public static void main(String[] args) {
        Thread thread = new Thread(new JoinRunnable());
        thread.start();
        for (int i = 0; i < 50; i++) {
            if(i==30){
                try{
                    thread.join();
                }catch(Exception e){
                    System.out.println(e);
                }
            }
            System.out.println("111111111");
        }
    }
}
